package servlet;

import java.text.DecimalFormat;
import java.util.Date;

public class Testd
{
	public static void main(String[] args)
	{
		Date d = new Date();
    	long longtime = d.getTime();
    	
    	System.out.println("longtime: - "+longtime);
    	
    	String test = "2.3657";
    	
    	
		int t1 =  (int)(Float.parseFloat(test)*100);
    	
		System.out.println(t1);
		
		System.out.println("-------------");
		
		float f1 = ((float)t1)/100 ;
		System.out.println(f1);
    	
	}
}
